<%@page contentType="text/html; charset= UTF-8"%> 
<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.front.expert.ExpertAction"%>
<%@page import="orest.common.util.CachedObject"%>
<%@page import="orest.common.util.CacheManager"%>


<%  //.request.setCharacterEncoding ("gbk");
   
   
    String keyword = request.getParameter ("keyword");
       
    /* page number */
    String no = request.getParameter ("no");
    int   pageno = 1;
    if(no != null)
        pageno = Integer.parseInt (no);
    
    /* record number */
    String count = request.getParameter ("count");
    int   record = 5;
    if(count != null)
        record = Integer.parseInt (count);    
    
    ExpertAction obj = new ExpertAction();
    String str = "";
    
    str = obj.findExpertByContion(keyword, pageno, record,0);
    //out.println (str);
    out.println ("<?xml version='1.0' encoding='gbk' ?><root>"+str+"</root>");
%>